package SOEN_Phase_2;

import junit.framework.TestCase;
import junit.framework.Assert;

public class DataHelpersTest extends TestCase{

	public void testPrintChars() {
		
		String s = DataHelpers.printChars('g',5);
		String f = "ggggg";
		Assert.assertTrue("printChars() fail", f.equalsIgnoreCase(s));
	}

	public void testPadString() {
		
		String s = DataHelpers.padString("test", 10);
		String f = "   test   ";

		Assert.assertEquals(true, f.equalsIgnoreCase(s));
		
	}

}
